Commit
ac113accf1e0927 didn't mock all DesktopAppInfo methods used by
gnome-shell, and https://gitlab.gnome.org/GNOME/glib/-/issues/3744
still hasn't been fixed.
Add the methods that are needed for the AppMenu, which hopefully are
all the remaining DesktopAppInfo methods we are using.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8587
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3832>
return GioUnix.DesktopAppInfo.has_key(this, key);
};
+ GioUnix.DesktopAppInfo.prototype.get_boolean = function (key) {
+ return GioUnix.DesktopAppInfo.get_boolean(this, key);
+ };
+
GioUnix.DesktopAppInfo.prototype.get_categories = function () {
return GioUnix.DesktopAppInfo.get_categories(this);
};
+
+ GioUnix.DesktopAppInfo.prototype.list_actions = function () {
+ return GioUnix.DesktopAppInfo.list_actions(this);
+ };
+
+ GioUnix.DesktopAppInfo.prototype.get_action_name = function (name) {
+ return GioUnix.DesktopAppInfo.get_action_name(this, name);
+ };
}
const slowdownEnv = GLib.getenv('GNOME_SHELL_SLOWDOWN_FACTOR');